WOPB\Compare D

Total Complexity 155
Dependencies 2
Dependents 2
Total lines 1,555
Lines of code 1,325
Logical lines of code 282
Comment lines 189
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
compare_wrapper_content()
D
21
49 200
default_settings()
D
15
1 563
add_compare_html()
A
45 16 37
wopb_compare_callback()
A
43 14 44
__construct()
A
44 8 44
compare_sidebar_content()
A
44 7 49
product_list()
A
44 7 48
compare_nav_menu()
S
52 7 22
footer_modal_callback()
S
51 5 30
compare_toast_message()
S
54 4 21
get_compare_css()
S
53 1 65
nav_menu_item()
S
60 4 14
initial_setup()
S
50 3 29
compare_table_columns()
S
53 3 21
compare_layouts()
S
58 3 14
wopb_product_list_callback()
S
63 3 9
compare_button_in_cart()
S
72 3 5
compare_clear()
S
72 3 5
compare_icons()
S
61 2 13
product_list_modal()
S
58 1 26
header_element()
S
62 2 11
my_account_compare_endpoint()
S
68 2 7
add_compare_scripts()
S
60 1 12
compare_button_in_single_product()
S
80 1 3
button_position_shop_filters()
S
66 1 9
button_position_filters()
S
67 1 8
compare_my_account_menu_items()
S
75 1 4
woocommerce_query_vars()
S
77 1 4
empty_product_message()
S
69 1 8